package model;

public class frog {

		private int posX;
		private int posY;
		private int velocityX;
		
		public frog() {
			velocityX = 0;
			posX = 450;
			posY = 500;
			
		}
	
		public void setPos(int x, int y) {
			this.posX = x;
			this.posY = y;
		}
		
		public void setVelocityX(int x) {
			this.velocityX = x;
		}
		
		public void move(double time) {
			this.posX += velocityX * time;
		}
		
		//accessors
		
		public int getPosX() {
			return posX;
		}
		
		public int getPosY() {
			return posY;
		}

	
}
